li = [2, 3, 4, 5, 6, 7, 8, 9, 10]
for i in li:
    for j in range(1, i):
        print('{0} * {1} = {2}'.format(j, i - 1, j * (i - 1)))
